.blgcomment-list>li:nth-child(n+2) {
    margin-block-start: 15px !important;
}

.custom-card {
    border: 1px solid #ced4da;
}

.customizer-action svg {
    width: 23px !important;
    color: #ffffff !important;
}

.active-mode {
    border: solid 2px #000000 !important;
}

.property-img {
    max-width: 507px;
    max-height: 286px;
}

.text-justify {
    text-align: justify;
}

.custom .media {
    padding: 10px !important;
}

.user-avatar {
    width: 30px;
    height: 30px;
}

@media only screen and (max-width: 410px) {
    .header_li {
        display: none !important;
    }
}

.blgcomment-list li .media img {
    width: auto;
    height: 40px !important;
}

#card-element {
    border: 1px solid #e5e5e5 !important;
    border-radius: 5px !important;
    padding: 13px !important;
}

.codex-sidebar .logo-gridwrap {
    padding: 0px 16px !important;
}

.setting-logo {
    width: 300px !important;
    ;
}

.landing-logo {
    max-width: 225px;

}

.auth-main .auth-wrapper.v2 .logo {
    max-width: 300px;

}

.b-brand .logo {
    max-width: 212px !important;

}

.lan-footer .codex-brand {
    margin-block-end: 0px !important;
}

.email-sidebar ul.custom-sidebarmenu-list {
    margin-block-start: 0px;
}

.invoice-logo {
    width: 250px;
}

.codex-calendar .events-list li {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 10px;
    border-radius: 5px;
    color: #fff;
    line-height: 1;
}

.codex-calendar .events-list {
    overflow: auto;
    height: 863px;
}

.landing_logo {
    filter: drop-shadow(2px 3px 7px #011C4B);
}

.head-invoice img {
    width: 250px;
}

.cdx-invoice .body-invoice .table tr td {
    padding: 10px 10px !important;
}


.codex-brand img {
    width: 300px;
}

.codex-authbox .auth-header .codex-brand {
    margin-block-end: 0px;
}


.intro {
    background-repeat: no-repeat;
    background-size: cover;
}

.landing_dash {
    position: absolute;
    right: 0px;
    top: 50%;
    left: auto;
    bottom: 0;
    transform: translateY(-50%);
    overflow: hidden;
    height: 585px;
    display: flex;
    align-items: center;
    width: 60%;
}

.landing_dash img {
    object-fit: cover;
    position: relative;
    right: -220px;
    border-radius: 10px;
    left: auto;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1440px) {
    .landing_dash {
        display: none;
    }
}

.lan-footer {
    text-align: center;
    background-color: unset;
}

.lan-footer .support-contain p {
    color: #051722;
    font-size: calc(16px + 4*(100vw - 420px) / 1500);
}

.select2-container .select2-selection--single {
    height: 43px !important;
    border-color: #e5e5e5;
}

.select2-container .select2-selection--multiple {
    min-height: 43px !important;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #e5e5e5;
}

/* =========================================================================== */
.dt-length {
    padding-left: 7px !important;
}

.dt-search {
    padding-right: 7px !important;
}

.dt-info {
    padding-left: 7px !important;
}

.dt-paging {
    padding-right: 7px !important;
}

.dt-buttons {
    padding-left: 7px !important;
    float: left;
}

.dt-container {
    margin-top: 10px;
}

.dt-info {
    float: left;
}

.dt-paging {
    float: right;
    padding-top: .85em;
}

.form-group {
    margin-bottom: 15px;
}

div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 1.2em !important;
}

div:where(.swal2-container) .swal2-html-container {
    font-size: 0.9em !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    font-size: 0.8em !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    font-size: 0.8em !important;
}

div:where(.swal2-icon) {
    width: 4em !important;
    height: 4em !important;
}

.account-tabs .nav-item .nav-link {
    position: relative;
    padding: 0.7rem 1rem;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.testaments-cards::after {
    background: transparent !important;
}

.pricingpricing .price-card .product-list li::before {
    content: '\eb55';
    color: red;
}

.pricingpricing .price-card .product-list li.enable::before {
    content: "\ea5e";
    color: #00c853;
}

.pricingpricing .price-card .product-list li {
    opacity: 1 !important;
}

.account-tabs .nav-item .nav-link.active {
    color: var(--bs-secondary-rgb);
    background: rgba(var(--bs-secondary-rgb), 0.1);
}

form label {
    text-transform: capitalize;
}


@media print {
    .table-responsive {
        overflow: visible !important;
        height: auto !important;
        display: block !important;
    }
}

.color_type {
    position: relative;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
    margin-right: 10px;
    margin-top: 10px;
    width: 48px;
    height: 48px;
    flex: none;
    cursor: pointer;
}

.cutom_colorr.active::after,
.cutom_colorr.custom::after {
    content: "✓";
    color: #fff;
    font-size: 30px;
    background: none !important;
    font-weight: 900;
    background-color: transparent !important;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 10px;
    line-height: 0;
}









/* =========================================================================== */
/* Navbar Menu + submenu */


@media (min-width: 768px) {
    .navbar-nav .dropdown>.dropdown-menu {
        display: none;
    }

    .navbar-nav .dropdown:hover>.dropdown-menu {
        display: block;
    }

    .navbar-nav .dropdown:hover>.dropdown-menu-lg {
        width: 800px;
    }



    .navbar-nav .dropdown-toggle::after {
        display: none;
    }

    .navbar-nav {
        margin-left: 0 !important;
        /* pastikan tidak ada offset */
    }

    .dropdown-menu .row>[class*="col-"] {
        padding: 0 1rem;
    }

    /* Kolom pertama kasih border kanan */
    .dropdown-menu .row>.col-lg-4:first-child {
        border-right: 1px solid #ddd;
    }

    /* Kolom kedua kasih border kiri + kanan */
    .dropdown-menu .row>.col-lg-4:nth-child(2) {
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
    }

    /* Kolom terakhir jangan dikasih border */
    .dropdown-menu .row>.col-lg-4:last-child {
        border: none;
    }

    .dropdown-menu .badge {
        vertical-align: middle;
        /* sejajarkan ke tengah */
        line-height: 1;
        /* rapatkan teks */
        padding: 0.35em 0.6em;
        /* biar tetap proporsional */
        font-size: 0.75rem;
        /* opsional */
    }

    .dropdown-header svg.feather {
        width: 14px !important;
        height: 14px !important;
    }

    #moreDropdown+.dropdown-menu {
        left: auto !important;
        right: 0 !important;
    }

    #newsDropdown+.dropdown-menu {
        left: auto !important;
        right: 0 !important;
    }

    /* #searchDropdown+.dropdown-menu {
        left: auto !important;
        right: 0 !important;
    } */


}


/* button del history search */

/* Tombol X minimalis, tanpa icon font */
.btn-del {
    --size: 26px;
    --bg: rgba(220, 53, 69, .08);
    /* mirip danger */
    --bg-hover: rgba(220, 53, 69, .16);
    --ring: rgba(220, 53, 69, .35);
    --cross: #dc3545;
    /* warna X */

    position: relative;
    width: var(--size);
    height: var(--size);
    border: none;
    border-radius: 50%;
    background: var(--bg);
    cursor: pointer;
    outline: none;
    transition: background-color .18s ease, box-shadow .18s ease, transform .08s ease;
}

/* Buat tanda X dengan pseudo elements */
.btn-del::before,
.btn-del::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 12px;
    /* panjang garis */
    height: 2px;
    /* ketebalan garis */
    background: var(--cross);
    border-radius: 2px;
    transition: background-color .18s ease, transform .18s ease;
}

.btn-del::before {
    transform: rotate(45deg);
}

.btn-del::after {
    transform: rotate(-45deg);
}

.btn-del:hover {
    background: var(--bg-hover);
    box-shadow: 0 0 0 4px var(--ring);
}

.btn-del:active {
    transform: scale(0.96);
}

/* Aksesibilitas fokus via keyboard */
.btn-del:focus-visible {
    box-shadow: 0 0 0 4px var(--ring);
}

/* Versi kecil (opsional) */
.btn-del.btn-del-sm {
    --size: 22px;
}

.btn-del.btn-del-sm::before,
.btn-del.btn-del-sm::after {
    width: 10px;
}

/* Dark mode tweak (opsional) */
@media (prefers-color-scheme: dark) {
    .btn-del {
        --bg: rgba(220, 53, 69, .12);
        --bg-hover: rgba(220, 53, 69, .22);
        --ring: rgba(220, 53, 69, .35);
        --cross: #ff6b6b;
    }
}

/* DESC overview */
.co-desc {
    white-space: pre-line;
    /* sudah ada di punyamu, boleh dipertahankan */
    text-align: justify;
    /* <- bikin rata kiri–kanan */
    text-justify: inter-word;
    /* sebar spasi antar-kata */
    hyphens: auto;
    /* bantu pemenggalan kata */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}





/* ====== minor UI stock analysis ====== */
.co-muted {
    color: #6c757d
}

.co-desc {
    white-space: pre-wrap
}

.pill {
    display: inline-block;
    padding: .35rem .6rem;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    color: #6c757d;
    font-size: .8rem
}

.co-kpi .pill .label {
    font-size: .72rem;
    color: #6c757d
}

.co-kpi .pill .value {
    font-weight: 600;
    font-size: 1rem
}

.small {
    font-size: .85rem;
    color: #6c757d
}

.danger {
    color: #dc3545
}

textarea[readonly] {
    background: #f8f9fa
}

/* ====== loading & effects ====== */
#analyzeBtn .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin .8s linear infinite;
    margin-left: .5rem;
    vertical-align: -2px
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.result-card {
    position: relative
}

.loading-overlay {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(2px);
    z-index: 3
}

.card.is-loading .loading-overlay {
    display: flex
}

.loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px
}

.loader-ring {
    width: 34px;
    height: 34px;
    border: 3px solid #0d6efd33;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: spin .9s linear infinite
}

.progress {
    width: 220px;
    height: 4px;
    border-radius: 999px;
    background: #e9ecef;
    overflow: hidden
}

.progress .bar {
    width: 42%;
    height: 100%;
    background: linear-gradient(90deg, #0d6efd, #6ea8fe);
    animation: indeterminate 1.15s infinite ease
}

@keyframes indeterminate {
    0% {
        transform: translateX(-110%)
    }

    100% {
        transform: translateX(260%)
    }
}

/* result effects */
#resultBox.glow {
    box-shadow: 0 0 0 2px #dfeaff, 0 0 20px rgba(13, 110, 253, .25);
    transition: box-shadow .25s ease
}

#resultBox.success-pop {
    animation: pop .25s ease
}

@keyframes pop {
    0% {
        transform: scale(.99)
    }

    100% {
        transform: scale(1)
    }
}

#resultBox.shake {
    animation: shake .35s ease
}

@keyframes shake {

    10%,
    90% {
        transform: translateX(-1px)
    }

    20%,
    80% {
        transform: translateX(2px)
    }

    30%,
    50%,
    70% {
        transform: translateX(-4px)
    }

    40%,
    60% {
        transform: translateX(4px)
    }
}

.faint {
    color: #6c757d
}

/* summary table */
.ai-summary thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e9ecef
}

.ai-summary td,
.ai-summary th {
    white-space: nowrap
}

/* rail mini chart */
.rail {
    position: relative;
    background: #fbfbfc;
    border: 1px solid #eef0f2;
    border-radius: 12px;
    padding: 12px 12px 18px
}

.rail__title {
    font-size: .8rem;
    color: #6c757d;
    margin-bottom: .35rem
}

.rail__bar {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e9edf5, #e9edf5)
}

.rail__band {
    position: absolute;
    left: 0;
    right: 0;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(25, 135, 84, .18), rgba(25, 135, 84, .18), transparent)
}

.rail__marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%
}

.rail__marker--stop {
    background: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .15)
}

.rail__marker--entry {
    background: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, .15)
}

.rail__marker--target {
    background: #6f42c1;
    box-shadow: 0 0 0 3px rgba(111, 66, 193, .15)
}

.rail__label {
    position: absolute;
    top: 18px;
    transform: translateX(-50%);
    font-size: .75rem;
    color: #394150;
    white-space: nowrap
}

.rail__legend {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    margin-top: .6rem
}

.rail__legend .lg {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    color: #394150
}

.rail__legend .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%
}

.dot.stop {
    background: #dc3545
}

.dot.entry {
    background: #198754
}

.dot.target {
    background: #6f42c1
}









:root {
    --co-sticky-top: 64px;
}

/* sesuaikan tinggi navbar fixed Anda */

.company-sticky {
    position: sticky;
    top: var(--co-sticky-top);
    z-index: 2;
    background: var(--bs-body-bg);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.company-sticky.is-stuck {
    box-shadow: 0 6px 12px rgba(0, 0, 0, .06);
}

.company-sticky .co-compact {
    padding-top: .5rem;
    padding-bottom: .5rem;
}